# -*- coding: utf-8 -*-
"""
Created on Thu Dec  2 12:04:16 2021

@author: 86159
"""
#导入依赖包
import tts as tts#百度语音合成包
from RecordPlay import recorder#录音包
#需要语音合成的内容
text = "今天天气真好！"
#语音合成    
file = tts.Text2Voice(text)
#播放语音文件
r = recorder()
r.playwav(file)
